







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a new OrderedBag. The T must implement IComparable<T>
or IComparable.
The CompareTo method of this interface will be used to compare items in this bag.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
| C# |
|---|
public OrderedBag() |
| Visual Basic (Declaration) |
|---|
Public Sub New |
| Visual C++ |
|---|
public: OrderedBag () |
Remarks
Items that are null are permitted, and will be sorted before all other items.
Exceptions
| Exception | Condition |
|---|---|
| System..::InvalidOperationException | T does not implement IComparable<TKey>. |
See Also
OrderedBag<(Of <T>)> Class
Wintellect.PowerCollections Namespace
